{include file="header.html"}
<title>应付查询列表</title>
<script>
    $(function () {
        $('#bdate').datepicker({changeMonth: true, changeYear: true});
        $('#edate').datepicker({changeMonth: true, changeYear: true});
    });
</script>
<div id="rightTop">
	<p>应付查询列表</p>
</div>
<div class="mrightTop">
	<div class="fontl">
		<form id="select_from" method="get">
			<div class="left">
				<input type="hidden" name="app" value="payable"/>
				<input id='act' type="hidden" name="act" value="index"/>
				应付时间&nbsp;
				<input class="queryInput3" type="text" value="{$smarty.get.bdate}" id="bdate"
					   name="bdate"/>&nbsp;&nbsp;至&nbsp;&nbsp;<input class="queryInput3" type="text" value="{$smarty.get.edate}" id="edate"
						 name="edate"/>
				<input style="margin-left: 5px" type="submit"  class="formbtn" value="查询"/>

			</div>
		</form>
	</div>

	<div class="clear:both;"></div>
</div>
<div class="tdare">
	<table width="100%" cellspacing="0" class="dataTable">
		<!--{if $payables}-->
		<tr class="tatr1">
			<td width="10px"></td>
			<td >结算单位</td>
			<td >海运费</td>
			<td>合计</td>
			<td class="handler" >操作</td>
		</tr>
		<!--{/if}-->
		<!--{foreach from=$payables item=payable}-->
		<tr class="tatr2">
			<td width="10px"></td>
			<td >{$payable.jsUnit}</td>
			<td >{$payable.feename}</td>
			<td >{$payable.count}</td>
			<td class="handler">
				<a href="index.php?app=payable&amp;act=detail&amp;id={$payable.unitid}&amp;bdate={$bdate}&amp;edate={$edate}" >明细</a>

			</td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="4"><img style="width: 20%" src="themes/mall/default/styles/default/images/n.png"></td>
		</tr>
		<!--{/foreach}-->



	</table>
	<!--{if $payables}-->{include file=page.new.html}
	<div style="margin-top: 30px"></div>
	<!--{else}-->
	<div style="margin-top: 50px"></div>
	<!--{/if}-->
</div>

